<template>
	<view>
		<div>appid</div>
		<input v-model="appid" type="text" content="width=device-width, initial-scale=1.0" />
		<div>appsecret</div>
		<input v-model="appsecret" type="text" content="width=device-width, initial-scale=1.0" />
		<div>集数</div>
		<input v-model="total_num" type="text" content="width=device-width, initial-scale=1.0" />
		<div>剧集名</div>
		<input v-model="tvName" type="text" content="width=device-width, initial-scale=1.0" />
		<div>tv_id dytv的_id</div>
		<input v-model="tv_id" type="text" content="width=device-width, initial-scale=1.0" />
		<div>查询起始页码</div>
		<input v-model="pageNumber" type="text" content="width=device-width, initial-scale=1.0" />
		<button @click="upvid">上传</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				appid: '',
				appsecret: '',
				total_num: 0,
				tv_id: "",
				tvName: '',
				pageNumber: 1
			}
		},
		methods: {
			upvid() {
				vk.callFunction({
					url: 'admin/pages/pub/gitList2',
					title: '请求中...',
					data: {
						appid: this.appid,
						appsecret: this.appsecret,
						total_num: this.total_num,
						tv_id: this.tv_id,
						tvName: this.tvName,
						pageNumber: this.pageNumber
					},
					success: (data) => {

					}
				});
			}
		}
	}
</script>

<style>
	view {
		background-color: #808080;
	}

	input {
		background-color: #fff;
		/* 设置输入框的背景颜色 */

	}
</style>